package com.lighting.smssystem.service;

import com.lighting.smssystem.model.bo.FavoriteList;
import com.lighting.smssystem.model.vo.CompanyFilter;
import com.lighting.smssystem.model.vo.CompanyFilterNew;
import com.lighting.smssystem.model.vo.FavoriteForm;

/**
 * @author leemaster
 * @Title: IFavoriteService
 * @Package com.lighting.smssystem.service
 * @Description:
 * @date 2019-06-0812:54
 */
public interface IFavoriteService {

    /**
     * 获取用户的收藏夹列表
     * @param filter
     * @return
     */
    FavoriteList listUserFavorite(CompanyFilterNew filter);


    /**
     * 添加用户收藏
     * @param favoriteForm
     * @return
     */
    int addFavorite(FavoriteForm favoriteForm);

    /**
     * 取消收藏
     * @param userId
     * @param ids
     * @return
     */
    int delFavorite(Long userId, String ids);
}
